package com.example.springbootcourse.pojo;

public class Course {
    private String id;

    private String coursename;

    private String coursenum;

    private String courseteacher;

    private String coursedate;

    private String coursedesc;

    private String courseroom;

    private String status;

    public Course(String id, String coursename, String coursenum, String courseteacher, String coursedate, String coursedesc, String courseroom, String status) {
        this.id = id;
        this.coursename = coursename;
        this.coursenum = coursenum;
        this.courseteacher = courseteacher;
        this.coursedate = coursedate;
        this.coursedesc = coursedesc;
        this.courseroom = courseroom;
        this.status = status;
    }

    public Course() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename == null ? null : coursename.trim();
    }

    public String getCoursenum() {
        return coursenum;
    }

    public void setCoursenum(String coursenum) {
        this.coursenum = coursenum == null ? null : coursenum.trim();
    }

    public String getCourseteacher() {
        return courseteacher;
    }

    public void setCourseteacher(String courseteacher) {
        this.courseteacher = courseteacher == null ? null : courseteacher.trim();
    }

    public String getCoursedate() {
        return coursedate;
    }

    public void setCoursedate(String coursedate) {
        this.coursedate = coursedate == null ? null : coursedate.trim();
    }

    public String getCoursedesc() {
        return coursedesc;
    }

    public void setCoursedesc(String coursedesc) {
        this.coursedesc = coursedesc == null ? null : coursedesc.trim();
    }

    public String getCourseroom() {
        return courseroom;
    }

    public void setCourseroom(String courseroom) {
        this.courseroom = courseroom == null ? null : courseroom.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }
}